<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>表单的基本效果</title>
</head>

<body>
    <div>
        <form action="">
            <div>
                <label for="username">用户名：</label>
                <input type="text" name="username" id="username">
            </div>
            <div>
                <label for="password">密码：</label>
                <input type="password" name="password" id="password">
            </div>
            <div>
                <input type="submit" value="提交">
            </div>
        </form>
    </div>

</body>

</html>